for i in range(1,6):
    for k in range(0, 6 - i):
        print(' ', end='')
    for j in range(i*2-1):
        print('*',end='')
    print()